package com.landeb.shop.huo.httpRequest;

import com.landeb.shop.huo.bean.BeanActHistoryLV;
import com.landeb.shop.huo.bean.BeanStatusInfo;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by blade on 2016/11/14.
 */

public interface ActHistoryRequest {

    @GET("User/goods_visit_list")
    Observable<BeanActHistoryLV> getHistory(@Query("page") int page, @Query("limit") int limit);

    @GET("User/remove_goods_visit")
    Observable<BeanStatusInfo> delete(@Query("id") String goodId);

    @GET("User/clear_goods_visit")
    Observable<BeanStatusInfo> deleteAll();
}
